package service.impl;

import mapper.BackendUserMapper;
import org.springframework.stereotype.Service;
import pojo.BackendUser;
import service.BackendUserService;

import javax.annotation.Resource;

@Service
public class BackendUserServiceImpl implements BackendUserService {
    @Resource
    private BackendUserMapper backendUserMapper;


    @Override
    public BackendUser login(String userCode, String userPassword) {
        return backendUserMapper.login(userCode,userPassword);
    }
}
